<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/pub/include.jsp" %>
<script type="text/javascript">
document.write("<ul>");
var url = document.URL;
if(url.indexOf("week")!=-1){
	document.write('<li class="bj"><a href="<c:url value="/ads/week?m=list"/>">周报表</a></li>');
}
else{
	document.write('<li><a href="<c:url value="/ads/week?m=list"/>">周报表</a></li>');
}
if(url.indexOf("month")!=-1){
	document.write('<li class="bj"><a href="<c:url value="/ads/month?m=list"/>">月报表</a></li>');
}
else{
	document.write('<li><a href="<c:url value="/ads/month?m=list"/>">月报表</a></li>');
}
if(url.indexOf("quater")!=-1){
    document.write('<li class="bj"><a href="<c:url value="/ads/quater?m=list"/>">季度报表</a></li>');
}
else{
    document.write('<li><a href="<c:url value="/ads/quater?m=list"/>">季度报表</a></li>');
}
if(url.indexOf("year")!=-1){
    document.write('<li class="bj"><a href="<c:url value="/ads/year?m=list"/>">年报表</a></li>');
}
else{
    document.write('<li><a href="<c:url value="/ads/year?m=list"/>">年报表</a></li>');
}
<%--if(url.indexOf("/news.do")!=-1){
	document.write('<li class="bj"><a href="<c:url value="/admin/news/news.do?m=list"/>">用户管理</a></li>');
}
else{
	document.write('<li><a href="<c:url value="/admin/news/news.do?m=list"/>">用户管理</a></li>');
}--%>
document.write("</ul>");
</script>